<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="${css}/pintuer.css">
    <link rel="stylesheet" href="${css}/admin.css">
    <link rel="stylesheet" href="${css}/bootstrap.css">
    <script src="${js}/jquery.js"></script>
    <script src="${js}/pintuer.js"></script>
    <script src="${js}/bootstrap.js"></script>
</head>
<body>
<div class="jumbotron">
    <div class="container-fluid">
        <div class="row clearfix">
            <div class="col-md-12 column">
                <h3 class="text-info text-center">
                    ${admin.username}用户的商品反馈
                </h3>
                <p></p>
                <c:forEach items="${feedbacks}" var="data">
                    <div class="row">
                        <div class="col-md-8">
                            <div class="thumbnail">
                                <img style="left: inherit" height="200" width="100" src="${images}/${data.orderItem.photo}" />
                                <div class="caption">
                                    <h3>
                                        商品名:<span class="text-warning">${data.orderItem.title}</span>
                                    </h3>
                                    <h3>
                                        商品单价:<span class="text-warning">${data.orderItem.price}</span>
                                    </h3>
                                    <h3>
                                        商品评价:
                                    </h3>
                                    <p>
                                        <textarea  name="description" readonly="readonly" class="editor_id"   style="height:300px; border:1px solid #ddd;">${data.description}</textarea>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </c:forEach>
                <link rel="stylesheet" type="text/css" href="${kindeditor}/themes/default/default.css">
                <link rel="stylesheet" type="text/css" href="${kindeditor}/plugins/code/prettify.css">
                <script type="text/javascript" src="${kindeditor}/kindeditor-all-min.js"></script>
                <script type="text/javascript" src="${kindeditor}/lang/zh-CN.js"></script>
                <script type="text/javascript" src="${kindeditor}/plugins/code/prettify.js"></script>
                <script>
                    KindEditor.ready(function(K) {
                        var editor1 = K.create('.editor_id', {
                            cssPath : '${kindeditor}/plugins/code/prettify.css',
                            uploadJson : '${kindeditor}/upload_json.jsp',
                            fileManagerJson : '${kindeditor}/file_manager_json.jsp',
                            afterBlur: function () { this.sync(); }
                        });
                    });

                    //先上传 文件  异步方式实现上传  上传完成后  回显文件的地址信息  在  文本域显示
                </script>
            </div>
        </div>
    </div>
</div>
</body>
</html>
